package com.onedec.client.entity;

import java.util.ArrayList;
import java.util.List;

public class OnedecClientExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OnedecClientExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andClientIdIsNull() {
            addCriterion("client_id is null");
            return (Criteria) this;
        }

        public Criteria andClientIdIsNotNull() {
            addCriterion("client_id is not null");
            return (Criteria) this;
        }

        public Criteria andClientIdEqualTo(Integer value) {
            addCriterion("client_id =", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdNotEqualTo(Integer value) {
            addCriterion("client_id <>", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdGreaterThan(Integer value) {
            addCriterion("client_id >", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("client_id >=", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdLessThan(Integer value) {
            addCriterion("client_id <", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdLessThanOrEqualTo(Integer value) {
            addCriterion("client_id <=", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdIn(List<Integer> values) {
            addCriterion("client_id in", values, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdNotIn(List<Integer> values) {
            addCriterion("client_id not in", values, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdBetween(Integer value1, Integer value2) {
            addCriterion("client_id between", value1, value2, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdNotBetween(Integer value1, Integer value2) {
            addCriterion("client_id not between", value1, value2, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientNameIsNull() {
            addCriterion("client_name is null");
            return (Criteria) this;
        }

        public Criteria andClientNameIsNotNull() {
            addCriterion("client_name is not null");
            return (Criteria) this;
        }

        public Criteria andClientNameEqualTo(String value) {
            addCriterion("client_name =", value, "clientName");
            return (Criteria) this;
        }

        public Criteria andClientNameNotEqualTo(String value) {
            addCriterion("client_name <>", value, "clientName");
            return (Criteria) this;
        }

        public Criteria andClientNameGreaterThan(String value) {
            addCriterion("client_name >", value, "clientName");
            return (Criteria) this;
        }

        public Criteria andClientNameGreaterThanOrEqualTo(String value) {
            addCriterion("client_name >=", value, "clientName");
            return (Criteria) this;
        }

        public Criteria andClientNameLessThan(String value) {
            addCriterion("client_name <", value, "clientName");
            return (Criteria) this;
        }

        public Criteria andClientNameLessThanOrEqualTo(String value) {
            addCriterion("client_name <=", value, "clientName");
            return (Criteria) this;
        }

        public Criteria andClientNameLike(String value) {
            addCriterion("client_name like", value, "clientName");
            return (Criteria) this;
        }

        public Criteria andClientNameNotLike(String value) {
            addCriterion("client_name not like", value, "clientName");
            return (Criteria) this;
        }

        public Criteria andClientNameIn(List<String> values) {
            addCriterion("client_name in", values, "clientName");
            return (Criteria) this;
        }

        public Criteria andClientNameNotIn(List<String> values) {
            addCriterion("client_name not in", values, "clientName");
            return (Criteria) this;
        }

        public Criteria andClientNameBetween(String value1, String value2) {
            addCriterion("client_name between", value1, value2, "clientName");
            return (Criteria) this;
        }

        public Criteria andClientNameNotBetween(String value1, String value2) {
            addCriterion("client_name not between", value1, value2, "clientName");
            return (Criteria) this;
        }

        public Criteria andClientTelIsNull() {
            addCriterion("client_tel is null");
            return (Criteria) this;
        }

        public Criteria andClientTelIsNotNull() {
            addCriterion("client_tel is not null");
            return (Criteria) this;
        }

        public Criteria andClientTelEqualTo(String value) {
            addCriterion("client_tel =", value, "clientTel");
            return (Criteria) this;
        }

        public Criteria andClientTelNotEqualTo(String value) {
            addCriterion("client_tel <>", value, "clientTel");
            return (Criteria) this;
        }

        public Criteria andClientTelGreaterThan(String value) {
            addCriterion("client_tel >", value, "clientTel");
            return (Criteria) this;
        }

        public Criteria andClientTelGreaterThanOrEqualTo(String value) {
            addCriterion("client_tel >=", value, "clientTel");
            return (Criteria) this;
        }

        public Criteria andClientTelLessThan(String value) {
            addCriterion("client_tel <", value, "clientTel");
            return (Criteria) this;
        }

        public Criteria andClientTelLessThanOrEqualTo(String value) {
            addCriterion("client_tel <=", value, "clientTel");
            return (Criteria) this;
        }

        public Criteria andClientTelLike(String value) {
            addCriterion("client_tel like", value, "clientTel");
            return (Criteria) this;
        }

        public Criteria andClientTelNotLike(String value) {
            addCriterion("client_tel not like", value, "clientTel");
            return (Criteria) this;
        }

        public Criteria andClientTelIn(List<String> values) {
            addCriterion("client_tel in", values, "clientTel");
            return (Criteria) this;
        }

        public Criteria andClientTelNotIn(List<String> values) {
            addCriterion("client_tel not in", values, "clientTel");
            return (Criteria) this;
        }

        public Criteria andClientTelBetween(String value1, String value2) {
            addCriterion("client_tel between", value1, value2, "clientTel");
            return (Criteria) this;
        }

        public Criteria andClientTelNotBetween(String value1, String value2) {
            addCriterion("client_tel not between", value1, value2, "clientTel");
            return (Criteria) this;
        }

        public Criteria andClientProvinceIsNull() {
            addCriterion("client_province is null");
            return (Criteria) this;
        }

        public Criteria andClientProvinceIsNotNull() {
            addCriterion("client_province is not null");
            return (Criteria) this;
        }

        public Criteria andClientProvinceEqualTo(String value) {
            addCriterion("client_province =", value, "clientProvince");
            return (Criteria) this;
        }

        public Criteria andClientProvinceNotEqualTo(String value) {
            addCriterion("client_province <>", value, "clientProvince");
            return (Criteria) this;
        }

        public Criteria andClientProvinceGreaterThan(String value) {
            addCriterion("client_province >", value, "clientProvince");
            return (Criteria) this;
        }

        public Criteria andClientProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("client_province >=", value, "clientProvince");
            return (Criteria) this;
        }

        public Criteria andClientProvinceLessThan(String value) {
            addCriterion("client_province <", value, "clientProvince");
            return (Criteria) this;
        }

        public Criteria andClientProvinceLessThanOrEqualTo(String value) {
            addCriterion("client_province <=", value, "clientProvince");
            return (Criteria) this;
        }

        public Criteria andClientProvinceLike(String value) {
            addCriterion("client_province like", value, "clientProvince");
            return (Criteria) this;
        }

        public Criteria andClientProvinceNotLike(String value) {
            addCriterion("client_province not like", value, "clientProvince");
            return (Criteria) this;
        }

        public Criteria andClientProvinceIn(List<String> values) {
            addCriterion("client_province in", values, "clientProvince");
            return (Criteria) this;
        }

        public Criteria andClientProvinceNotIn(List<String> values) {
            addCriterion("client_province not in", values, "clientProvince");
            return (Criteria) this;
        }

        public Criteria andClientProvinceBetween(String value1, String value2) {
            addCriterion("client_province between", value1, value2, "clientProvince");
            return (Criteria) this;
        }

        public Criteria andClientProvinceNotBetween(String value1, String value2) {
            addCriterion("client_province not between", value1, value2, "clientProvince");
            return (Criteria) this;
        }

        public Criteria andClientCityIsNull() {
            addCriterion("client_city is null");
            return (Criteria) this;
        }

        public Criteria andClientCityIsNotNull() {
            addCriterion("client_city is not null");
            return (Criteria) this;
        }

        public Criteria andClientCityEqualTo(String value) {
            addCriterion("client_city =", value, "clientCity");
            return (Criteria) this;
        }

        public Criteria andClientCityNotEqualTo(String value) {
            addCriterion("client_city <>", value, "clientCity");
            return (Criteria) this;
        }

        public Criteria andClientCityGreaterThan(String value) {
            addCriterion("client_city >", value, "clientCity");
            return (Criteria) this;
        }

        public Criteria andClientCityGreaterThanOrEqualTo(String value) {
            addCriterion("client_city >=", value, "clientCity");
            return (Criteria) this;
        }

        public Criteria andClientCityLessThan(String value) {
            addCriterion("client_city <", value, "clientCity");
            return (Criteria) this;
        }

        public Criteria andClientCityLessThanOrEqualTo(String value) {
            addCriterion("client_city <=", value, "clientCity");
            return (Criteria) this;
        }

        public Criteria andClientCityLike(String value) {
            addCriterion("client_city like", value, "clientCity");
            return (Criteria) this;
        }

        public Criteria andClientCityNotLike(String value) {
            addCriterion("client_city not like", value, "clientCity");
            return (Criteria) this;
        }

        public Criteria andClientCityIn(List<String> values) {
            addCriterion("client_city in", values, "clientCity");
            return (Criteria) this;
        }

        public Criteria andClientCityNotIn(List<String> values) {
            addCriterion("client_city not in", values, "clientCity");
            return (Criteria) this;
        }

        public Criteria andClientCityBetween(String value1, String value2) {
            addCriterion("client_city between", value1, value2, "clientCity");
            return (Criteria) this;
        }

        public Criteria andClientCityNotBetween(String value1, String value2) {
            addCriterion("client_city not between", value1, value2, "clientCity");
            return (Criteria) this;
        }

        public Criteria andClientAreaIsNull() {
            addCriterion("client_area is null");
            return (Criteria) this;
        }

        public Criteria andClientAreaIsNotNull() {
            addCriterion("client_area is not null");
            return (Criteria) this;
        }

        public Criteria andClientAreaEqualTo(String value) {
            addCriterion("client_area =", value, "clientArea");
            return (Criteria) this;
        }

        public Criteria andClientAreaNotEqualTo(String value) {
            addCriterion("client_area <>", value, "clientArea");
            return (Criteria) this;
        }

        public Criteria andClientAreaGreaterThan(String value) {
            addCriterion("client_area >", value, "clientArea");
            return (Criteria) this;
        }

        public Criteria andClientAreaGreaterThanOrEqualTo(String value) {
            addCriterion("client_area >=", value, "clientArea");
            return (Criteria) this;
        }

        public Criteria andClientAreaLessThan(String value) {
            addCriterion("client_area <", value, "clientArea");
            return (Criteria) this;
        }

        public Criteria andClientAreaLessThanOrEqualTo(String value) {
            addCriterion("client_area <=", value, "clientArea");
            return (Criteria) this;
        }

        public Criteria andClientAreaLike(String value) {
            addCriterion("client_area like", value, "clientArea");
            return (Criteria) this;
        }

        public Criteria andClientAreaNotLike(String value) {
            addCriterion("client_area not like", value, "clientArea");
            return (Criteria) this;
        }

        public Criteria andClientAreaIn(List<String> values) {
            addCriterion("client_area in", values, "clientArea");
            return (Criteria) this;
        }

        public Criteria andClientAreaNotIn(List<String> values) {
            addCriterion("client_area not in", values, "clientArea");
            return (Criteria) this;
        }

        public Criteria andClientAreaBetween(String value1, String value2) {
            addCriterion("client_area between", value1, value2, "clientArea");
            return (Criteria) this;
        }

        public Criteria andClientAreaNotBetween(String value1, String value2) {
            addCriterion("client_area not between", value1, value2, "clientArea");
            return (Criteria) this;
        }

        public Criteria andClientAddrIsNull() {
            addCriterion("client_addr is null");
            return (Criteria) this;
        }

        public Criteria andClientAddrIsNotNull() {
            addCriterion("client_addr is not null");
            return (Criteria) this;
        }

        public Criteria andClientAddrEqualTo(String value) {
            addCriterion("client_addr =", value, "clientAddr");
            return (Criteria) this;
        }

        public Criteria andClientAddrNotEqualTo(String value) {
            addCriterion("client_addr <>", value, "clientAddr");
            return (Criteria) this;
        }

        public Criteria andClientAddrGreaterThan(String value) {
            addCriterion("client_addr >", value, "clientAddr");
            return (Criteria) this;
        }

        public Criteria andClientAddrGreaterThanOrEqualTo(String value) {
            addCriterion("client_addr >=", value, "clientAddr");
            return (Criteria) this;
        }

        public Criteria andClientAddrLessThan(String value) {
            addCriterion("client_addr <", value, "clientAddr");
            return (Criteria) this;
        }

        public Criteria andClientAddrLessThanOrEqualTo(String value) {
            addCriterion("client_addr <=", value, "clientAddr");
            return (Criteria) this;
        }

        public Criteria andClientAddrLike(String value) {
            addCriterion("client_addr like", value, "clientAddr");
            return (Criteria) this;
        }

        public Criteria andClientAddrNotLike(String value) {
            addCriterion("client_addr not like", value, "clientAddr");
            return (Criteria) this;
        }

        public Criteria andClientAddrIn(List<String> values) {
            addCriterion("client_addr in", values, "clientAddr");
            return (Criteria) this;
        }

        public Criteria andClientAddrNotIn(List<String> values) {
            addCriterion("client_addr not in", values, "clientAddr");
            return (Criteria) this;
        }

        public Criteria andClientAddrBetween(String value1, String value2) {
            addCriterion("client_addr between", value1, value2, "clientAddr");
            return (Criteria) this;
        }

        public Criteria andClientAddrNotBetween(String value1, String value2) {
            addCriterion("client_addr not between", value1, value2, "clientAddr");
            return (Criteria) this;
        }

        public Criteria andClientHouseareaIsNull() {
            addCriterion("client_housearea is null");
            return (Criteria) this;
        }

        public Criteria andClientHouseareaIsNotNull() {
            addCriterion("client_housearea is not null");
            return (Criteria) this;
        }

        public Criteria andClientHouseareaEqualTo(Double value) {
            addCriterion("client_housearea =", value, "clientHousearea");
            return (Criteria) this;
        }

        public Criteria andClientHouseareaNotEqualTo(Double value) {
            addCriterion("client_housearea <>", value, "clientHousearea");
            return (Criteria) this;
        }

        public Criteria andClientHouseareaGreaterThan(Double value) {
            addCriterion("client_housearea >", value, "clientHousearea");
            return (Criteria) this;
        }

        public Criteria andClientHouseareaGreaterThanOrEqualTo(Double value) {
            addCriterion("client_housearea >=", value, "clientHousearea");
            return (Criteria) this;
        }

        public Criteria andClientHouseareaLessThan(Double value) {
            addCriterion("client_housearea <", value, "clientHousearea");
            return (Criteria) this;
        }

        public Criteria andClientHouseareaLessThanOrEqualTo(Double value) {
            addCriterion("client_housearea <=", value, "clientHousearea");
            return (Criteria) this;
        }

        public Criteria andClientHouseareaIn(List<Double> values) {
            addCriterion("client_housearea in", values, "clientHousearea");
            return (Criteria) this;
        }

        public Criteria andClientHouseareaNotIn(List<Double> values) {
            addCriterion("client_housearea not in", values, "clientHousearea");
            return (Criteria) this;
        }

        public Criteria andClientHouseareaBetween(Double value1, Double value2) {
            addCriterion("client_housearea between", value1, value2, "clientHousearea");
            return (Criteria) this;
        }

        public Criteria andClientHouseareaNotBetween(Double value1, Double value2) {
            addCriterion("client_housearea not between", value1, value2, "clientHousearea");
            return (Criteria) this;
        }

        public Criteria andClientStatusIsNull() {
            addCriterion("client_status is null");
            return (Criteria) this;
        }

        public Criteria andClientStatusIsNotNull() {
            addCriterion("client_status is not null");
            return (Criteria) this;
        }

        public Criteria andClientStatusEqualTo(Byte value) {
            addCriterion("client_status =", value, "clientStatus");
            return (Criteria) this;
        }

        public Criteria andClientStatusNotEqualTo(Byte value) {
            addCriterion("client_status <>", value, "clientStatus");
            return (Criteria) this;
        }

        public Criteria andClientStatusGreaterThan(Byte value) {
            addCriterion("client_status >", value, "clientStatus");
            return (Criteria) this;
        }

        public Criteria andClientStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("client_status >=", value, "clientStatus");
            return (Criteria) this;
        }

        public Criteria andClientStatusLessThan(Byte value) {
            addCriterion("client_status <", value, "clientStatus");
            return (Criteria) this;
        }

        public Criteria andClientStatusLessThanOrEqualTo(Byte value) {
            addCriterion("client_status <=", value, "clientStatus");
            return (Criteria) this;
        }

        public Criteria andClientStatusIn(List<Byte> values) {
            addCriterion("client_status in", values, "clientStatus");
            return (Criteria) this;
        }

        public Criteria andClientStatusNotIn(List<Byte> values) {
            addCriterion("client_status not in", values, "clientStatus");
            return (Criteria) this;
        }

        public Criteria andClientStatusBetween(Byte value1, Byte value2) {
            addCriterion("client_status between", value1, value2, "clientStatus");
            return (Criteria) this;
        }

        public Criteria andClientStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("client_status not between", value1, value2, "clientStatus");
            return (Criteria) this;
        }

        public Criteria andClientBak1IsNull() {
            addCriterion("client_bak1 is null");
            return (Criteria) this;
        }

        public Criteria andClientBak1IsNotNull() {
            addCriterion("client_bak1 is not null");
            return (Criteria) this;
        }

        public Criteria andClientBak1EqualTo(String value) {
            addCriterion("client_bak1 =", value, "clientBak1");
            return (Criteria) this;
        }

        public Criteria andClientBak1NotEqualTo(String value) {
            addCriterion("client_bak1 <>", value, "clientBak1");
            return (Criteria) this;
        }

        public Criteria andClientBak1GreaterThan(String value) {
            addCriterion("client_bak1 >", value, "clientBak1");
            return (Criteria) this;
        }

        public Criteria andClientBak1GreaterThanOrEqualTo(String value) {
            addCriterion("client_bak1 >=", value, "clientBak1");
            return (Criteria) this;
        }

        public Criteria andClientBak1LessThan(String value) {
            addCriterion("client_bak1 <", value, "clientBak1");
            return (Criteria) this;
        }

        public Criteria andClientBak1LessThanOrEqualTo(String value) {
            addCriterion("client_bak1 <=", value, "clientBak1");
            return (Criteria) this;
        }

        public Criteria andClientBak1Like(String value) {
            addCriterion("client_bak1 like", value, "clientBak1");
            return (Criteria) this;
        }

        public Criteria andClientBak1NotLike(String value) {
            addCriterion("client_bak1 not like", value, "clientBak1");
            return (Criteria) this;
        }

        public Criteria andClientBak1In(List<String> values) {
            addCriterion("client_bak1 in", values, "clientBak1");
            return (Criteria) this;
        }

        public Criteria andClientBak1NotIn(List<String> values) {
            addCriterion("client_bak1 not in", values, "clientBak1");
            return (Criteria) this;
        }

        public Criteria andClientBak1Between(String value1, String value2) {
            addCriterion("client_bak1 between", value1, value2, "clientBak1");
            return (Criteria) this;
        }

        public Criteria andClientBak1NotBetween(String value1, String value2) {
            addCriterion("client_bak1 not between", value1, value2, "clientBak1");
            return (Criteria) this;
        }

        public Criteria andClientBak2IsNull() {
            addCriterion("client_bak2 is null");
            return (Criteria) this;
        }

        public Criteria andClientBak2IsNotNull() {
            addCriterion("client_bak2 is not null");
            return (Criteria) this;
        }

        public Criteria andClientBak2EqualTo(String value) {
            addCriterion("client_bak2 =", value, "clientBak2");
            return (Criteria) this;
        }

        public Criteria andClientBak2NotEqualTo(String value) {
            addCriterion("client_bak2 <>", value, "clientBak2");
            return (Criteria) this;
        }

        public Criteria andClientBak2GreaterThan(String value) {
            addCriterion("client_bak2 >", value, "clientBak2");
            return (Criteria) this;
        }

        public Criteria andClientBak2GreaterThanOrEqualTo(String value) {
            addCriterion("client_bak2 >=", value, "clientBak2");
            return (Criteria) this;
        }

        public Criteria andClientBak2LessThan(String value) {
            addCriterion("client_bak2 <", value, "clientBak2");
            return (Criteria) this;
        }

        public Criteria andClientBak2LessThanOrEqualTo(String value) {
            addCriterion("client_bak2 <=", value, "clientBak2");
            return (Criteria) this;
        }

        public Criteria andClientBak2Like(String value) {
            addCriterion("client_bak2 like", value, "clientBak2");
            return (Criteria) this;
        }

        public Criteria andClientBak2NotLike(String value) {
            addCriterion("client_bak2 not like", value, "clientBak2");
            return (Criteria) this;
        }

        public Criteria andClientBak2In(List<String> values) {
            addCriterion("client_bak2 in", values, "clientBak2");
            return (Criteria) this;
        }

        public Criteria andClientBak2NotIn(List<String> values) {
            addCriterion("client_bak2 not in", values, "clientBak2");
            return (Criteria) this;
        }

        public Criteria andClientBak2Between(String value1, String value2) {
            addCriterion("client_bak2 between", value1, value2, "clientBak2");
            return (Criteria) this;
        }

        public Criteria andClientBak2NotBetween(String value1, String value2) {
            addCriterion("client_bak2 not between", value1, value2, "clientBak2");
            return (Criteria) this;
        }

        public Criteria andClientBak3IsNull() {
            addCriterion("client_bak3 is null");
            return (Criteria) this;
        }

        public Criteria andClientBak3IsNotNull() {
            addCriterion("client_bak3 is not null");
            return (Criteria) this;
        }

        public Criteria andClientBak3EqualTo(String value) {
            addCriterion("client_bak3 =", value, "clientBak3");
            return (Criteria) this;
        }

        public Criteria andClientBak3NotEqualTo(String value) {
            addCriterion("client_bak3 <>", value, "clientBak3");
            return (Criteria) this;
        }

        public Criteria andClientBak3GreaterThan(String value) {
            addCriterion("client_bak3 >", value, "clientBak3");
            return (Criteria) this;
        }

        public Criteria andClientBak3GreaterThanOrEqualTo(String value) {
            addCriterion("client_bak3 >=", value, "clientBak3");
            return (Criteria) this;
        }

        public Criteria andClientBak3LessThan(String value) {
            addCriterion("client_bak3 <", value, "clientBak3");
            return (Criteria) this;
        }

        public Criteria andClientBak3LessThanOrEqualTo(String value) {
            addCriterion("client_bak3 <=", value, "clientBak3");
            return (Criteria) this;
        }

        public Criteria andClientBak3Like(String value) {
            addCriterion("client_bak3 like", value, "clientBak3");
            return (Criteria) this;
        }

        public Criteria andClientBak3NotLike(String value) {
            addCriterion("client_bak3 not like", value, "clientBak3");
            return (Criteria) this;
        }

        public Criteria andClientBak3In(List<String> values) {
            addCriterion("client_bak3 in", values, "clientBak3");
            return (Criteria) this;
        }

        public Criteria andClientBak3NotIn(List<String> values) {
            addCriterion("client_bak3 not in", values, "clientBak3");
            return (Criteria) this;
        }

        public Criteria andClientBak3Between(String value1, String value2) {
            addCriterion("client_bak3 between", value1, value2, "clientBak3");
            return (Criteria) this;
        }

        public Criteria andClientBak3NotBetween(String value1, String value2) {
            addCriterion("client_bak3 not between", value1, value2, "clientBak3");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}